﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Furion.Models
{
    public class AccountViewModel
    {
    }
    public class LoginViewModel
    {
        [Required(ErrorMessage = "Email Address is required.")]
        [RegularExpression(@"^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$", ErrorMessage = "Not a valid Email Address.")]        
        [DataType(DataType.EmailAddress)]
        [Display(Name = "Email", Description="Email error")]
        public string Email { get; set; }

        [Required(ErrorMessage = "Password is required.")]
        [DataType(DataType.Password)]
        [Display(Name = "Password")]
        public string Password { get; set; }
    }

}